#全量覆盖  监控规则配置表
#!/bin/bash
dt='2025-08-15'
arr=(AML_MONITORING_RULE)
for i in ${arr[@]};do
ods_aml="ODS_$i"
sqoop import \
--connect jdbc:oracle:thin:@192.168.65.12:1521:orcl \
--username AML \
--password 123456 \
--table $i \
--hcatalog-database ods \
--hcatalog-table $ods_aml \
--hive-overwrite \
--hive-partition-key etl_date \
--hive-partition-value $dt \
-m 1
done
